import request from "@/API";

//获取诗人信息
export function reqGetAuthorSingle(aId) {
  return request.get(`/home/home_suggestion/author/${aId}`);
}
//获取所有诗人
export function reqGetAuthorAll(currentPage) {
  return request.get(`/author/allAuthor/${currentPage}`);
}
//获取诗人的所有诗词
export function reqGetAuthorPoems(authorId, currentPage) {
  return request.get(`/author/allPoem/${authorId}/${currentPage}`);
}
